package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_lang_ya_build", autoSave = true,desc = "建阁")
public class LogLangYaBuild {

    @FieldTypeAnnotation(isIndex = true)
    int activityId;

    @FieldTypeAnnotation(isIndex = true)
    long userId;

    @FieldTypeAnnotation(desc = "积分")
    int score;

    @FieldTypeAnnotation(desc = "祭奠值")
    int buildValue;

    @FieldTypeAnnotation(desc = "建阁类型：1黄金；2：普通")
    String buildType;

    @FieldTypeAnnotation(desc = "奖励")
    String reward;

    @FieldTypeAnnotation(desc = "长明灯id")
    private String lightList;

    @FieldTypeAnnotation(desc = "时间")
    private Date logTime;

    public LogLangYaBuild(int activityId, long userId, int score, int buildValue, String buildType, String reward, String lightList) {
        this.activityId = activityId;
        this.userId = userId;
        this.score = score;
        this.buildValue = buildValue;
        this.buildType = buildType;
        this.reward = reward;
        this.lightList = lightList;
        this.logTime = new Date();
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public int getBuildValue() {
        return buildValue;
    }

    public void setBuildValue(int buildValue) {
        this.buildValue = buildValue;
    }

    public String getBuildType() {
        return buildType;
    }

    public void setBuildType(String buildType) {
        this.buildType = buildType;
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }

    public Date getLogTime() {
        return logTime;
    }

    public void setLogTime(Date logTime) {
        this.logTime = logTime;
    }

    public String getLightList() {
        return lightList;
    }

    public void setLightList(String lightList) {
        this.lightList = lightList;
    }
}
